//
//  TwoMainHeadView.m
//  PosApp
//
//  Created by 刘萍 on 2018/9/11.
//  Copyright © 2018年 李英新. All rights reserved.
//

#import "TwoMainHeadView.h"

@implementation TwoMainHeadView

- (void)CreateTwoMainHeadView{
    
    self.HeadMainView.layer.cornerRadius = 10;
    self.HeadMainView.layer.shadowColor = [UIColor colorWithRed:206/255.0 green:203/255.0 blue:204/255.0 alpha:0.75].CGColor;
    self.HeadMainView.layer.shadowOffset = CGSizeMake(0,10);
    self.HeadMainView.layer.shadowOpacity = 1;
    self.HeadMainView.layer.shadowRadius = 21;
    
}

- (IBAction)ClickOnBtnToAddNewCard:(id)sender {
    
    [self.delegate ClickOnBtnOfTwoMainHeadViewToAddNewCard];
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
